CIE: Use cbrt instead of pow for the reference XYZ to LAB conversion
authorDebarshi Ray <debarshir@gnome.org>
Tue, 31 Oct 2017 08:36:39 +0000 (09:36 +0100)
committerØyvind Kolås <pippin@gimp.org>
Tue, 31 Oct 2017 12:08:43 +0000 (13:08 +0100)
commitab883c55fa74dfaeb27d488f0bd5de53fd1b1afb
treea8449f461214a92c278ee6494167214179f5f45e
parentea00661dd8986b9a1380c9c500122dec8ca5a0db
CIE: Use cbrt instead of pow for the reference XYZ to LAB conversion

The fast-paths use an inlining-friendly version of cbrt(3). Using
something similar removes superficial differences between the two
conversion paths. It's not like the C library's cbrt(3) will perform
any worse than its own pow(3).

https://bugzilla.gnome.org/show_bug.cgi?id=789695
extensions/CIE.c